package cn.java63;

public class Person {
    private String name;
    private String worlds;

    public Person(){}

    public Person(String name, String worlds) {
        this.name = name;
        this.worlds = worlds;
    }

    public void say(){
        System.out.println(name+"说"+worlds);
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setWorlds(String worlds) {
        this.worlds = worlds;
    }
}
